Keep the error message that starts with a lowercase letter
authorCarol (Nichols || Goulding) <carol.nichols@gmail.com>
Tue, 22 Sep 2015 01:00:23 +0000 (21:00 -0400)
committerCarol (Nichols || Goulding) <carol.nichols@gmail.com>
Tue, 22 Sep 2015 01:06:24 +0000 (21:06 -0400)
src/cargo/ops/cargo_fetch.rs
tests/test_cargo_registry.rs

index b1e5c213f56492a2f7c9d7f9bacf38193921a9d1..dff47938a6b44a1a0ea2b7ec56c526913164e528 100644 (file)
@@ -18,6 +18,6 @@ pub fn get_resolved_packages(resolve: &Resolve, registry: &mut PackageRegistry)
                              -> CargoResult<Vec<Package>> {
     let ids: Vec<PackageId> = resolve.iter().cloned().collect();
     registry.get(&ids).chain_error(|| {
-        human("Unable to get packages from source")
+        human("unable to get packages from source")
     })
 }
index fef4fa5008af84f2f5eebd8f2e5744d04e2b2c38..632511c68303011c74effe4dd14b74c20300175a 100644 (file)
@@ -161,7 +161,7 @@ test!(bad_cksum {
 
     assert_that(p.cargo_process("build").arg("-v"),
                 execs().with_status(101).with_stderr("\
-Unable to get packages from source
+unable to get packages from source
 
 Caused by:
   Failed to download package `bad-cksum v0.0.1 (registry file://[..])` from [..]